package com.ngkj.zmfptback.sys.mapper.read;

import com.ngkj.zmfptback.sys.bean.MenuEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author ChenHN
 * @since 2021/12/14 creation
 **/
@Mapper
public interface MenuReadMapper {

    List<Map<String,Object>> getAllMenus();


    List<Map<String,Object>> getMenusByRoles(List<String> roleName);

    Integer getMaxOrderById(Integer id);
}
